
abstract public class Figura_geometrica {
	String name;
	private static int  nume;
	public Figura_geometrica(){
		nume++;
	}
	public int getContador(){
		return nume;
	}
	public String getNombre(){
		return name;
	}
	public void setNombre(String name){
		this.name=name;
	}
	abstract int getArea();
}

